package com.example.userservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.userservice.entity.user_account;
import com.example.userservice.mapper.UserMapper;
import com.example.userservice.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, user_account> implements UserService {
    
    @Autowired
    private UserMapper userMapper;
    
    @Override
    public List<Map<String, Object>> getNonAdminUsers() {
        return userMapper.getNonAdminUsers();
    }
}
